#!/usr/bin/python

import os, sys
from optparse import OptionParser

stocky_path = os.path.split(os.path.abspath(__file__))[0] + "/.."
sys.path.append(stocky_path)

import stockie.bootstrap
import stockie.stocky.interface as interface

print "Price updates: begin"
for (s, n, p) in interface.updateAllPrices():
    print s or n, p
print "Price updates: done"
